package edu.zjut.yzj.backend.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class Record {
  @TableId(type = IdType.AUTO)
  private Integer id;
  private Integer aId;
  private Integer aSx;
  private Integer aSy;
  private Integer bId;
  private Integer bSx;
  private Integer bSy;
  private String aSteps;
  private String bSteps;
  private String map;
  private String loser;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date createtime;


}
